﻿//using System.Collections.Generic;

//namespace Citi.ResourceConsolidation.Domain
//{
//    public partial class HumanResourceDept
//    {

//    }

//    public class HumanResourceDeptImport : LevelParentImport<HumanResourceDept>
//    {
//        protected override string DescriptionLevelColumn { get { return "HR Dept L{0} Descr"; } }
//        protected override string CodeLevel2Column { get { return "HR Dept ID L2"; } }
//        protected override string CodeLevel3Column { get { return "HR Dept ID L3"; } }
//        protected override string CodeLevel4Column { get { return "HR Dept ID L4"; } }
//        protected override string CodeLevel5Column { get { return "HR Dept ID L5"; } }
//        protected override string CodeLevel6Column { get { return "HR Dept ID L6"; } }
//        protected override string CodeLevel7Column { get { return "HR Dept ID L7"; } }
//        protected override string CodeLevel8Column { get { return "HR Dept ID L8"; } }
//        protected override string CodeLevel9Column { get { return "HR Dept ID L9"; } }
//    }

//    public class HumanResourceDepartmentComparer : IEqualityComparer<HumanResourceDept>
//    {
//        public bool Equals(HumanResourceDept x, HumanResourceDept y)
//        {
//            if (ReferenceEquals(x, y)) return true;
//            if (ReferenceEquals(x, null) || ReferenceEquals(y, null))
//                return false;

//            return x.Description == y.Description && x.Id == y.Id && x.Level == y.Level && x.ParentId == y.ParentId;
//        }

//        public int GetHashCode(HumanResourceDept item)
//        {
//            if (ReferenceEquals(item, null)) return 0;

//            int hashDescription = item.Description == null ? 0 : item.Description.GetHashCode();
//            int hashId = item.Description == null ? 0 : item.Id.GetHashCode();
//            int hashCode = item.ParentId == null ? 0 : item.ParentId.GetHashCode();

//            return hashDescription ^ hashId ^ hashCode;
//        }
//    }
//}
